package cn.usian.service;

import cn.usian.common.R;
import cn.usian.entity.Employee;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import javax.servlet.http.HttpServletRequest;

public interface EmployeeService {
    R<Employee> login(Employee employee);

    R<Page<Employee>> page(Integer page, Integer pageSize, String name);

   

    void save(Employee employee);

    R findById(Long id);

    void updateEmp(Employee employee);
}
